package com.aaa.hospital.controller;

import com.aaa.hospital.pojo.domain.Kes;
import com.aaa.hospital.pojo.vo.RegisterVo;
import com.aaa.hospital.result.AjaxResult;
import com.aaa.hospital.service.RegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author:张海金
 * Description:T0D0
 * DateTime:2022/2/24 13:33
 **/
@RestController
@RequestMapping("register")
public class RegisterController {

    @Autowired
    private RegisterService registerService;
    @RequestMapping("getks")
    public AjaxResult getks(){
        return registerService.getks();
    }
    @RequestMapping("waike")
    public AjaxResult waike(){
        return registerService.waike();
    }
    @RequestMapping("guke")
    public AjaxResult guke(){
        return registerService.guke();
    }
    @RequestMapping("xinlike")
    public AjaxResult xinlike(){
        return registerService.xinlike();
    }
    @RequestMapping("breathing")
    public AjaxResult breathing( Integer id){
        System.out.println("--------->" + id);
        return registerService.breathing(id);
    }
    @RequestMapping("getName")
    public AjaxResult getName(Integer id){
        return registerService.getName(id);
    }
    @RequestMapping("getNameOne")
    public AjaxResult getNameOne(Integer id){
        return registerService.getNameOne(id);
    }
    @RequestMapping("getNameTwo")
    public AjaxResult getNameTwo(Integer id){
        return registerService.getNameTwo(id);
    }
    @RequestMapping("getNameThree")
    public AjaxResult getNameThree(Integer id){
        return registerService.getNameThree(id);
    }
    @RequestMapping("getSurgery")
    public AjaxResult getSurgery(Integer id){
        return registerService.getSurgery(id);
    }
    @RequestMapping("getSurgeryOne")
    public AjaxResult getSurgeryOne(Integer id){
        return registerService.getSurgeryOne(id);
    }
    @RequestMapping("getSurgeryTwo")
    public AjaxResult getSurgeryTwo(Integer id){
        return registerService.getSurgeryTwo(id);
    }
    @RequestMapping("getSurgeryThree")
    public AjaxResult getSurgeryThree(Integer id){
        return registerService.getSurgeryThree(id);
    }
    @RequestMapping("getBone")
    public AjaxResult getBone(Integer id){
        return registerService.getBone(id);
    }
    @RequestMapping("getBoneOne")
    public AjaxResult getBoneOne(Integer id){
        return registerService.getBoneOne(id);
    }
    @RequestMapping("getBoneTwo")
    public AjaxResult getBoneTwo(Integer id){
        return registerService.getBoneTwo(id);
    }
    @RequestMapping("getBoneThree")
    public AjaxResult getBoneThree(Integer id){
        return registerService.getBoneThree(id);
    }
    @RequestMapping("getHeart")
    public AjaxResult getHeart(Integer id){
        return registerService.getHeart(id);
    }
    @RequestMapping("getHeartOne")
    public AjaxResult getHeartOne(Integer id){
        return registerService.getHeartOne(id);
    }
    @RequestMapping("getHeartTwo")
    public AjaxResult getHeartTwo(Integer id){
        return registerService.getHeartTwo(id);
    }
    @RequestMapping("getHeartThree")
    public AjaxResult getHeartThree(Integer id){
        return registerService.getHeartThree(id);
    }
    @RequestMapping("addRegister")
    public AjaxResult addRegister(RegisterVo registerVo){
        return registerService.addRegister(registerVo);
    }
    @RequestMapping("addRegisterOne")
    public AjaxResult addRegisterOne(RegisterVo registerVo){
        return registerService.addRegisterOne(registerVo);
    }
    @RequestMapping("addRegisterTwo")
    public AjaxResult addRegisterTwo(RegisterVo registerVo){
        return registerService.addRegisterTwo(registerVo);
    }
    @RequestMapping("addRegisterThree")
    public AjaxResult addRegisterThree(RegisterVo registerVo){
        return registerService.addRegisterThree(registerVo);
    }
    @RequestMapping("addSurgery")
    public AjaxResult addSurgery(RegisterVo registerVo){
        return registerService.addSurgery(registerVo);
    }
    @RequestMapping("addSurgeryOne")
    public AjaxResult addSurgeryOne(RegisterVo registerVo){
        return registerService.addSurgeryOne(registerVo);
    }
    @RequestMapping("addSurgeryTwo")
    public AjaxResult addSurgeryTwo(RegisterVo registerVo){
        return registerService.addSurgeryTwo(registerVo);
    }
    @RequestMapping("addSurgeryThree")
    public AjaxResult addSurgeryThree(RegisterVo registerVo){
        return registerService.addSurgeryThree(registerVo);
    }
    @RequestMapping("addBone")
    public AjaxResult addBone(RegisterVo registerVo){
        return registerService.addBone(registerVo);
    }
    @RequestMapping("addBoneOne")
    public AjaxResult addBoneOne(RegisterVo registerVo){
        return registerService.addBoneOne(registerVo);
    }
    @RequestMapping("addBoneTwo")
    public AjaxResult addBoneTwo(RegisterVo registerVo){
        return registerService.addBoneTwo(registerVo);
    }
    @RequestMapping("addBoneThree")
    public AjaxResult addBoneThree(RegisterVo registerVo){
        return registerService.addBoneThree(registerVo);
    }
    @RequestMapping("addHeart")
    public AjaxResult addHeart(RegisterVo registerVo){
        return registerService.addHeart(registerVo);
    }
    @RequestMapping("addHeartOne")
    public AjaxResult addHeartOne(RegisterVo registerVo){
        return registerService.addHeartOne(registerVo);
    }
    @RequestMapping("addHeartTwo")
    public AjaxResult addHeartTwo(RegisterVo registerVo){
        return registerService.addHeartTwo(registerVo);
    }
    @RequestMapping("addHeartThree")
    public AjaxResult addHeartThree(RegisterVo registerVo){
        return registerService.addHeartThree(registerVo);
    }
}
